package com.itheima.day03_Student_2;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student("小明", 18, Gender.BOY);
        Student s2 = new Student("小红", 19, Gender.GIRL);
        Student s3 = new Student("小红", 19, Gender.GIRL);
        Student s4 = s3;
        System.out.println(s1.equals(s2));
        System.out.println(s2.equals(s3));
        System.out.println(s2.equals(s4));


    }
}
